package com.imooc.newretail.smartcabinet.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 设备分配关联
 * </p>
 *
 * @author Hank
 * @since 2020-07-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("IOT_DEVICE_RELATION")
@ApiModel(value="IotDeviceRelation对象", description="设备分配关联")
public class IotDeviceRelation implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("DEVICE_RELATION_ID")
    private String deviceRelationId;


    @ApiModelProperty(value = "智能柜")
    @TableField("CABINET_ID")
    private String cabinetId;


    @ApiModelProperty(value = "关联租住ID")
    @TableField("TENANT_ID")
    private String tenantId;


    @ApiModelProperty(value = "关联用户ID")
    @TableField("USER_ID")
    private String userId;


}
